home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Tools / Languages / MacHaskell 2.2 / progs / prelude / PreludeC.hs < prev    next >
Encoding:
Text File  |  1994-09-27  |  431 b   |  23 lines  |  [TEXT/YHS2]

  1.  
  2. -- This should be used when C routines are being called.
  3.  
  4.  
  5. module PreludeC where
  6.  
  7. {-#Prelude#-}
  8.  
  9. type C_char = Char
  10. type C_short = Integer
  11. type C_int = Integer
  12. type C_long = Integer
  13. type C_unsigned_char = Integer
  14. type C_unsigned_short = Integer
  15. type C_unsigned_int = Integer
  16. type C_unsigned_long = Integer
  17. type C_float = Float
  18. type C_double = Double
  19. type C_bool = Bool
  20. type C_void = ()
  21. type C_string = String
  22. type C_array a = [a]
  23.